import MapManager from "./managers/MapManager";
import TileManager from "./managers/TileManager";

const {ccclass, property} = cc._decorator;

/**
 * 游戏入口脚本
 */
@ccclass
export default class Game extends cc.Component {

    protected onLoad() {
        window['Global'] = {
            eventTarget: new cc.EventTarget()
        }
    }

    protected start () {
        MapManager.init();
        TileManager.init();
        // window['debug'] = TileManager.test;
    }

    // update (dt) {}
}
